package fun._6742.service;

import com.baomidou.mybatisplus.extension.service.IService;
import fun._6742.model.dataobject.ProductOrderDO;
import fun._6742.request.ConfirmOrderRequest;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LiuQ
 * @since 2022-09-22
 */
public interface ProductOrderService extends IService<ProductOrderDO> {

    Long createOrder(ConfirmOrderRequest confirmOrderRequest);

    Map<String, Object> findOne(long id);

    Map<String, Object> listAll(int page, int size);
}
